import React from 'react';
import Menu from './Menu';
import { Route, BrowserRouter as Router, Routes } from 'react-router-dom';
import Form from './Form';
import Table from './Table';

export default function Main() {
    console.log('main');
    return (
        <Routes>
            <Route path="/" element={<Table/>}/>
             <Route path="/xxx/table" element={<Table/>}/>
             <Route path="/form" element={<Form/>}/>
        </Routes>
    )
}